package com.lzh.prometheus.config.annos;

import com.lzh.prometheus.config.conditions.OnExceptionNoticeContition;
import com.lzh.prometheus.config.conditions.PrometheusEnabledCondition;
import org.springframework.context.annotation.Conditional;

import java.lang.annotation.*;

/**
 * @author zhehen.lu
 * @date 2025/8/15 9:50
 */
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Conditional({ PrometheusEnabledCondition.class, OnExceptionNoticeContition.class })
public @interface ConditionalOnExceptionNotice {
}
